Kameleon-Plus  0.3.2
ENLIL.h
Go to the documentation of this file.
1 /*
2  * ENLIL.h
3  *
4  * Created on: Jul 9, 2009
5  * Author: dberrios
6  */
7 
8 #ifndef ENLIL_H_
9 #define ENLIL_H_
10 
11 #include <string>
12 #include "Model.h"
13 #include "Interpolator.h"
14 
15 namespace ccmc
16 {
17 
24  class ENLIL: public Model
25  {
26  public:
27  ENLIL();
28  long open(const std::string& filename);
30  bool getChangeSignFlag(std::string variable);
31  bool getChangeSignFlagByID(long variable_id);
32  const std::vector<std::string> getLoadedVariables();
33 
34  virtual ~ENLIL();
35 
36  protected:
38  void initializeSIUnits();
39 
40  private:
41  std::string r_string;
42  std::string lat_string;
43  std::string lon_string;
44  std::string filename;
45 
46  void initializeMaps();
47  boost::unordered_map<std::string, bool> changeSignFlag;
48  boost::unordered_map<long, bool> changeSignFlagByID;
49  };
50 }
51 
52 #endif /* ENLIL_H_ */